Part Number Hot Search : 
1SV298 TSA5514 SZ470 DT8C01 25P40 DTC14 BD104 PQ1LAX
Product Description
Full Text Search
 

To Download MAXQ612 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  _______________________________________________________________ maxim integrated products 1 for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxims website at www.maxim-ic.com. 16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 19-5117; rev 0; 2/10 ordering information/selector guide general description the MAXQ612/maxq622 are low-power, 16-bit maxq m microcontrollers designed for low-power applications including universal remote controls, consumer elec - tronics, and white goods. both devices use a low- power, high-throughput, 16-bit risc microcontroller. serial peripherals include two universal synchronous/ asynchronous receiver-transmitters (usarts), two spi k master/slave communications ports, and an inter-inte - grated circuit (i 2 c) bus. the devices also incorporate an ir module with carrier frequency generation and flexible port i/o capable of multiplexed keypad control. the maxq622 adds a universal serial bus (usb) with integrated physical interface (phy). the MAXQ612/maxq622 include 128kb of flash memory and 6kb of data sram. intellectual property (ip) protection is provided by a secure memory management unit (mmu) that supports multiple application privilege levels and protects code against copying and reverse engineering. privilege levels enable vendors to provide libraries and applications to execute on the MAXQ612/maxq622, while limiting access to only data and code allowed by their privilege level. for the ultimate in low-power battery-operated perfor - mance, the devices include an ultra-low-power stop mode (0.3 f a typical). in this mode, the minimum amount of circuitry is powered. wake-up sources include external interrupts, the power-fail interrupt, and a timer interrupt. the microcontroller runs from a wide operating voltage of 1.70v to 3.6v, and can also be powered from the usb. applications features s high-performance, low-power, 16-bit risc core s dc to 12mhz operation across entire operating range s 1.70v to 3.6v operating voltage s can be powered from battery (v dd ) or usb (v ddb ) s 33 total instructions for simplified programming s three independent data pointers accelerate data movement with automatic increment/decrement s dedicated pointer for direct read from code space s 16-bit instruction word, 16-bit data bus s 16 x 16-bit general-purpose working registers s secure mmu for application partitioning and ip protection s memory features 128kb flash memory 512-byte sectors 20,000 erase/write cycles per sector 6kb data sram s usb features (maxq622 only) usb 2.0 full-speed compatible hardware receive and transmit buffers for high throughput integrated full-speed transceiver on-chip termination and pullup resistors s additional peripherals power-fail warning power-on reset (por)/brownout reset automatic ir carrier frequency generation and modulation two 16-bit programmable timers/counters with prescaler and capture/compare two spi communication ports two usart communication ports i 2 c port programmable watchdog timer 8khz nanopower ring oscillator wake-up timer up to 56 general-purpose i/o s low power consumption 0.3a (typ), 3a (max) in stop mode t a = +25 n c, power-fail monitor disabled 4.8ma (typ) at 12mhz, 520a (typ) at 1mhz in active mode remote controls battery-powered portable equipment consumer electronics home appliances white goods + denotes a lead(pb)-free/rohs-compliant package. *ep = exposed pad. note: bare die versions for most of these devices are available. contact the factory for availability at https://support.maxim-ic.com/micro . maxq is a registered trademark of maxim integrated products, inc. spi is a trademark of motorola, inc. note: some revisions of this device may incorporate deviations from published specifications known as errata. multiple revisions of any device may be simultaneously available through various sales channels. for information about device errata, go to: www.maxim-ic.com/errata . part temp range operating voltage (v) program memory (kb) data memory (kb) usb full speed pin-package MAXQ612 j-0000+ 0 n c to +70 n c 1.7 to 3.6 128 flash 6 no 44 tqfn-ep* MAXQ612g-0000+ 0 n c to +70 n c 1.7 to 3.6 128 flash 6 no 64 lqfp maxq622 g-0000+ 0 n c to +70 n c 1.7 to 3.6 128 flash 6 yes 64 lqfp
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 2 ______________________________________________________________________________________ table of contents absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 i 2 c electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 i 2 c bus controller timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 pin configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 detailed description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 memory protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 stack memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 utility rom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 ir carrier generation and modulation timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 carrier generation module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ir transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ir transmitindependent external carrier and modulator outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ir receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 carrier burst-count mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 16-bit timers/counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 general-purpose i/o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 serial peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 usart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 i 2 c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 usb controller (maxq622 only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 on-chip oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 rom loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 loading flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 in-application flash programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 in-circuit debug and jtag interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 power-supply selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 power-fail warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 power-fail detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 _______________________________________________________________________________________ 3 applications information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 grounds and bypassing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 additional documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 development and technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 list of figures figure 1. series resistors (r s ) for protecting against high-voltage spikes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 2. i 2 c bus controller timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 3. on-chip oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 4. in-circuit debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 5. power-fail detection during normal operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 6. stop mode power-fail detection states with power-fail monitor enabled . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 7. stop mode power-fail detection with power-fail monitor disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 list of tables table 1. memory areas and associated maximum privilege levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 2. watchdog interrupt timeout (sysclk = 12mhz, cd[1:0] = 00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 3. usart mode details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 4. power-fail warning level selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 5. power-fail detection states during normal operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 6. stop mode power-fail detection states with power-fail monitor enabled . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 7. stop mode power-fail detection states with power-fail monitor disabled . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table of contents ( continued )
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 4 ______________________________________________________________________________________ stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. voltage range on v dd with respect to gnd ..... -0.3v to +3.6v voltage range on any lead with respect to gnd except v bus .............. -0.3v to (v dd + 0.5v) voltage range on v bus with respect to gnd .... -0.3v to +6.0v continuous output current any single i/o pin ........................................................... 25ma all i/o pins combined ..................................................... 25ma voltage range on dp, dm with respect to gnd ................................... -0.3v to (v bus + 0.3v) operating temperature range ............................. 0 n c to +70 n c storage temperature range ............................ -65 n c to +150 n c soldering temperature ......................... refer to the ipc/jedec j-std-020 specification. recommended operating conditions (v dd = v rst to 3.6v, t a = 0 n c to +70 n c.) (note 1) absolute maximum ratings parameter symbol conditions min typ max units supply voltage v dd v rst 3.6 v 1.8v internal regulator v reg18 1.62 1.8 1.98 v power-fail warning voltage for supply v pfw monitors v dd (notes 2, 3, 4) 1.75 1.8 1.85 v power-fail reset voltage v rst monitors v dd (note 5) 1.64 1.67 1.70 v por voltage v por monitors v dd 1.0 1.42 v ram data-retention voltage v drv (note 6) 1.0 v active current i dd_1 sysclk = 12mhz 4.8 5.5 ma i dd_2 sysclk = 1mhz (note 6) 0.52 0.8 stop-mode current i s1 power-fail off (note 7) t a = +25 n c 0.3 3 f a t a = +70 n c 2.8 13 i s2 power-fail on t a = +25 n c 24 30 t a = +70 n c 30 40 current consumption during power fail i pfr (notes 6, 8, 9) [(3 x i s2 ) + ((pci - 3) x (i s1 + i nano ))]/ pci f a current consumption during por i por (note 10) 100 na stop-mode resume time t on 375 + 8192 t hfxin f s power-fail monitor startup time t pfm_on (note 6) 150 f s power-fail warning detection time t pfw (notes 6, 11) 10 f s input low voltage for irtx, irrx, reset , and all port pins v il v gnd 0.3 x v dd v input high voltage for irtx, irrx, reset , and all port pins v ih 0.7 x v dd v dd v
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 _______________________________________________________________________________________ 5 recommended operating conditions (continued) (v dd = v rst to 3.6v, t a = 0 n c to +70 n c.) (note 1) parameter symbol conditions min typ max units input hysteresis (schmitt) v ihys 300 mv input low voltage for hfxin v il_hfxin external driven clock and not feedback connected crystal oscillator v gnd 0.3 x v dd v input high voltage for hfxin v ih_hfxin external driven clock and not feedback connected crystal oscillator 0.7 x v dd v dd v irrx input filter pulse-width reject t irrx_r 50 ns irrx input filter pulse-width accept t irrx_a 300 ns output low voltage for irtx v ol_irtx v dd = 3.6v, i ol = 25ma (note 6) 1.0 v v dd = 2.35v, i ol = 10ma (note 6) 1.0 v dd = 1.85v, i ol = 4.5ma 1.0 output low voltage for reset and all port pins (note 12) v ol v dd = 3.6v, i ol = 11ma (note 6) 0.4 0.5 v v dd = 2.35v, i ol = 8ma (note 6) 0.4 0.5 v dd = 1.85v, i ol = 4.5ma 0.4 0.5 output high voltage for irtx and all port pins v oh i oh = -2ma v ddio - 0.5 v ddio v input/output pin capacitance for all port pins except dp, dm c io (note 6) 15 pf input leakage current i l internal pullup disabled -100 +100 na input pullup resistor for reset , irtx, irrx, p0 to p6 r pu v dd = 3v, v ol = v dd /2 (note 6) 16 25 39 k w v dd = 2v, v ol = v dd /2 17 27 41 v dd = 3.0v, v ol = 0.4v (note 6) 16 28 39 v dd = 2.0v, v ol = 0.4v (note 6) 17 30 41 gpio supply output high voltage v ddioh v ddioh current is the sum of v ddio current and i oh of all gpio, i oh = 20ma v dd - 0.4 v dd v external crystal/resonator crystal/resonator f hfxin (note 13) 1 12 mhz crystal/resonator period t hfxin 1/f hfxin ns crystal/resonator warmup time t xtal_rdy from initial oscillation 8192 x t hfxin ms oscillator feedback resistor r oscf (note 6) 0.5 1.0 1.5 m w crystal esr (note 6) 60 w external clock input external clock frequency f xclk (note 13) dc 12 mhz external clock period t xclk 1/f xclk ns external clock duty cycle t xclk_duty 45 55 % system clock frequency f ck f hfxin mhz hfxout = gnd f xclk
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 6 ______________________________________________________________________________________ recommended operating conditions (continued) (v dd = v rst to 3.6v, t a = 0 n c to +70 n c.) (note 1) parameter symbol conditions min typ max units system clock period t ck 1/f ck ns nanopower ring nanopower ring frequency f nano t a = +25 n c 3 13 20 khz t a = +25 n c, v dd = por voltage (note 6) 1.7 2.4 nanopower ring duty cycle t nano (note 6) 40 60 % nanopower ring current i nano typical at v dd = 1.64v, t a = +25 c (note 6) 40 400 na wake-up timer wake-up timer interval t wakeup 1/f nano 65,535/ f nano s flash memory system clock during flash programming/erase f fpsysclk 1 mhz flash erase time t me mass erase 20 40 ms t erase page erase 20 40 flash programming time per word t prog (note 14) 20 100 f s write/erase cycles 20,000 cycles data retention t a = +25 n c 100 years usb usb supply voltage v bus (note 15) 4.5 5.0 5.5 v v bus supply current (note 16) i vbus transmitting on dp and dm at 12mbps, c l = 50pf on dp and dm to gnd, frcvdd = 0 13.5 ma transmitting on dp and dm at 12mbps, c l = 50pf on dp and dm to gnd, frcvdd = 1 3.5 ma v bus supply current during idle (note 16) i vbusid dp = high, dm = low, frcvdd = 0 (note 6) 6 ma dp = high, dm = low, frcvdd = 1 0.2 ma v bus suspend supply current i vbussus 500 f a single-ended input high voltage dp, dm v ihd 2.0 v single-ended input low voltage dp, dm v ild 0.8 v output low voltage dp, dm v old r l = 1.5k i from dp to 3.6v 0.3 v output high voltage dp, dm v ohd r l = 15k i from dp and dm to gnd 2.8 v differential input sensitivity dp, dm v di dp to dm 0.2 v common-mode voltage range v cm includes v di range 0.8 2.5 v
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 _______________________________________________________________________________________ 7 recommended operating conditions (continued) (v dd = v rst to 3.6v, t a = 0 n c to +70 n c.) (note 1) parameter symbol conditions min typ max units single-ended receiver threshold v se 0.8 2.0 v single-ended receiver hysteresis v seh 200 mv differential output signal cross-point voltage v crs c l = 50pf (note 6) 1.3 2.0 v dp, dm off-state input impedance r lz 300 k w driver output impedance r drv steady-state drive 28 44 w dp pullup resistor r pu idle 0.9 1.575 k w receiving 1.425 3.090 usb timing dp, dm rise time (transmit) t r c l = 50pf 4 20 ns dp, dm fall time (transmit) t f c l = 50pf 4 20 ns rise/fall time matching (transmit) t r /t f c l = 50pf (note 6) 90 110 % ir carrier frequency f ir f ck /2 hz spi (note 6) spi master operating frequency 1/t mck f ck /2 mhz spi slave operating frequency 1/t sck f ck /4 mhz spi i/o rise/fall time t spi_rf c l = 15pf, pullup = 560 w 8 24 ns sclk_ output pulse-width high/low t mch , t mcl t mck /2 - t spi_rf ns mosi_ output hold time after sclk_ sample edge t moh t mck /2 - t spi_rf ns mosi_ output valid to sample edge t mov t mck /2 - t spi_rf ns miso_ input valid to sclk_ sample edge rise/fall setup t mis 25 ns miso_ input to sclk_ sample edge rise/fall hold t mih 0 ns sclk_ inactive to mosi_ inactive t mlh t mck /2 - t spi_rf ns sclk_ input pulse-width high/low t sch , t scl t sck /2 ns ssel _ active to first shift edge t sse t spi_rf ns
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 8 ______________________________________________________________________________________ recommended operating conditions (continued) (v dd = v rst to 3.6v, t a = 0 n c to +70 n c.) (note 1) i 2 c electrical characteristics (v dd = 2.7v to 3.6v, t a = 0 n c to +70 n c.) (note 1, figure 1) parameter symbol conditions min typ max units mosi_ input to sclk_ sample edge rise/fall setup t sis t spi_rf ns mosi_ input from sclk_ sample edge transition hold t sih t spi_rf ns miso_ output valid after sclk_ shift edge transition t sov 50 ns ssel _ inactive t ssh t ck + t spi_rf ns sclk_ inactive to ssel _ rising t sd t spi_rf ns miso_ output disabled after ssel _ edge rise t slh 2t ck + 2t spi_rf ns parameter symbol conditions standard mode fast mode units min max min max input low voltage v il_i2c (note 18) -0.5 0.3 x v dd -0.5 0.3 x v dd v input high voltage v ih_i2c (note 18) 0.7 x v dd 0.7 x v dd v dd + 0.5v v input hysteresis (schmitt) v ihys_i2c v dd > 2v 0.05 x v dd v output logic-low (open drain or open collector) v ol_i2c v dd > 2v, 3ma sink cur - rent 0 0.4 0 0.4 v output fall time from v ih_min to v il_max with bus capacitance from 10pf to 400pf t of_i2c (notes 19, 20) 250 20 + 0.1c b 250 ns pulse width of spike filtering that must be suppressed by input filter t sp_i2c 0 50 ns input current on i/o i in_i2c input voltage from 0.1 x v dd to 0.9 x v dd -10 +10 -10 +10 f a i/o capacitance c io_i2c 10 10 pf
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 _______________________________________________________________________________________ 9 i 2 c bus controller timing (notes 6, 21) (figure 2) note 1: specifications to 0 n c are guaranteed by design and are not production tested. note 2: v pfw can be programmed to the following nominal voltage trip points: 1.8v, 1.9v, 2.55v, and 2.75v q 3%. the values listed in the recommended operating conditions table are for the default configuration of 1.8v nominal. note 3: it is not recommended to write to flash when the supply voltage drops below the power-fail warning levels, as there is uncertainty in the duration of continuous power supply. the user application should check the status of the power-fail warning flag before writing to flash to ensure complete write operations. note 4: the power-fail warning monitor and the power-fail reset monitor are designed to track each other with a minimum delta between the two of 0.11v. note 5: the power-fail reset and por detectors are designed to operate in tandem to ensure that one or both of these signals is active at all times when v dd < v rst , ensuring the device maintains the reset state until minimum operating voltage is achieved. note 6: guaranteed by design and not production tested. note 7: i s1 is measured with the usb data ram powered down. note 8: the power-check interval (pci) can be set to always on, or to 1024, 2048, or 4096 nanopower ring clock cycles. note 9: measured on the v dd pin and the device not in reset. all inputs are connected to gnd or v dd . outputs do not source/ sink any current. the device is executing code from flash memory. note 10: current consumption during por when powering up while v dd is less than the por release voltage. note 11: the minimum amount of time that v dd must be below v pfw before a power-fail event is detected. note 12: the maximum total current, i oh(max) and i ol(max) , for all listed outputs combined should not exceed 25ma to satisfy the maximum specified voltage drop. this does not include the irtx output. note 13: external clock frequency must be 12mhz to support usb functionality. full-speed usb(12mbps)-required bit-rate accu - racy is q 2500ppm or q 0.25%. this is inclusive of all potential error sources: frequency tolerance, temperature, aging, crystal capacitive loading, board layout, etc. note 14: programming time does not include overhead associated with utility rom interface. parameter symbol standard mode fast mode units min max min max i 2 c bus operating frequency f i2c 0 100 0 400 khz system frequency f sys 0.90 3.60 mhz i 2 c bit rate f i2c f sys /8 f sys /8 hz hold time after (repeated) start t hd:sta 4.0 0.6 f s clock low period t low_i2c 4.7 1.3 f s clock high period t high_i2c 4.0 0.6 f s setup time for repeated start t su:sta 4.7 0.6 f s hold time for data (notes 22, 23) t hd:dat 0 3.45 0 0.9 f s setup time for data (note 24) t su:dat 250 100 ns sda/scl fall time (note 20) t f_i2c 300 20 + 0.1c b 300 ns sda/scl rise time (note 20) t r_i2c 1000 20 + 0.1c b 300 ns setup time for stop t su:sto 4.0 0.6 f s bus free time between stop and start t buf 4.7 1.3 f s capacitive load for each bus line c b 400 400 pf noise margin at the low level for each connected device (including hysteresis) v nl_i2c 0.1 x v dd 0.1 x v dd v noise margin at the low level for each connected device (including hysteresis) v nh_i2c 0.2 x v dd 0.2 x v dd v
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 10 _____________________________________________________________________________________ figure 1. series resistors (r s ) for protecting against high-voltage spikes note 15: for usb operation, both v dd and v bus must be connected. note 16: frcvdd is the force v dd power-supply bit (pwcn.10). when frcvdd = 1, v ddb power switching is disabled, and v dd is always used as the core 3v power supply. note 17: the esd protection scheme is in production on existing parts. the 1 f f capacitor on v bus is intended to protect that pin from esd damage (rather than dp or dm) since it is externally exposed. the esd test uses 150pf charged to 15kv applied to the 1 f f capacitor creating a delta v of approximately 2.25v and limiting the voltage on v bus . note 18: devices that use nonstandard supply voltages that do not conform to the intended i 2 c bus system levels must relate their input levels to the voltage to which the pullup resistors r p are connected. note 19: the maximum fall time, t f_i2c of 300ns for the sda and scl bus lines is longer than the specificed maximum t of_i2c of 250ns for the output stages. this allows series protection resistors (r s ) to be connected between the sda/scl pins and the sda/scl bus lines as shown in i 2 c bus controller timing without exceeding the maximum specified fall time. note 20: c b = capacitance of one bus line in pf. note 21: all values referred to v ih_i2c(min) and v il_i2c (max) . note 22: a device must internally provide a hold time of at least 300ns for the sda signal (referred to the v ih_i2c(min) of the scl signal) to bridge the undefined region of the falling edge of scl. note 23: the maximum t hd:dat need only be met if the device does not stretch the low period (t low_i2c ) of the scl signal. note 24: a fast-mode i 2 c bus device can be used in a standard-mode i 2 c bus system, but the requirement t su:dat r 250ns must be met. this is automatically the case if the device does not stretch the low period of the scl signal. if such a device does stretch the low period of the scl signal, it must output the next data bit to the sda line t r_i2c(max) + t su:dat = 1000 + 250 = 1250ns (according to the standard-mode i 2 c specification) before the scl line is released. note 25: ac electrical specifications are guaranteed by design and are not production tested. figure 2. i 2 c bus controller timing diagram sda p0.3 scl p0.4 r s r s i 2 c device r s r s i 2 c device r p r p v dd MAXQ612 maxq622 sda scl s s r p s t f_i2c t r_i2c t low_i2c t high_i2c t hd:sta t su:dat t su:sta t su:sto t buf t hd:dat note: timing referenced to v ih_i2c(min) and v il_i2c(max).
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 11 pin configurations p0.3/rx1/sda p0.4/tx1/scl p0.5/tba0/tba1 p0.6/tbb0 p0.7/tbb1 p2.0/mosi0 p2.1/miso0 p2.2/sclk0 p2.3/ssel0 p0.2/tx0 p0.1/rx0 1 2 3 4 5 6 7 8 9 10 11 p1.3/int3 p1.4/int4 p1.5/int5 p1.6/int6 p1.7/int7 gnd irtx irrx p0.0/irtxm p1.2/int2 p1.1/int1 34 35 36 37 38 39 40 41 42 43 44 p3.2/int10 p3.1/int9 p3.0/int8 hfxout hfxin gnd reg18 v dd reset p3.3/int11 p3.4/int12 22 21 20 19 18 17 16 15 14 13 12 p2.6/tms p2.5/tdi p2.4/tck gnd n.c. n.c. p3.7/int15 p3.6/int14 p3.5/int13 p2.7/tdo p1.0/int0 33 32 31 30 29 28 27 26 25 24 23 tqfn top view *exposed pad. MAXQ612 + *ep
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 12 _____________________________________________________________________________________ pin configurations (continued) 58 59 60 61 62 54 55 56 57 63 38 39 40 41 42 43 44 45 46 47 p4.4 p0.1/rx0 n.c. n.c. p1.0/int0 p2.7/tdo p2.6/tms p2.5/tdi p2.4/tck p5.3/ssel1 p5.2/sclk1 p5.1/miso1 52 53 49 50 51 p5.0/mosi1 n.c. gnd p3.7/int15 p3.6/int14 p0.0/irtxm p0.3/rx1/sda p0.2/tx0 p0.5/tba0/tba1 p0.4/tx1/scl p0.6/tbb0 gnd p2.0/mosi0 p0.7/tbb1 p2.2/sclk0 p2.1/miso0 reset p2.3/ssel0 n.c. p3.4/int12 p3.3/int11 p3.2/int10 p3.1/int9 p3.0/int8 hfxout hfxin gnd reg18 v dd 33 34 35 36 37 n.c. n.c. n.c. n.c. n.c. p4.3 p4.2 p4.1 p4.0 p1.7/int7 irtx gnd p4.7 p4.6 p4.5 p1.6/int6 p1.5/int5 p1.4/int4 p1.3/int3 48 p3.5/int13 p1.2/int2 64 p1.1/int1 irrx 23 22 21 20 19 27 26 25 24 18 29 28 32 31 30 17 11 10 9 8 7 6 5 4 3 2 16 15 14 13 12 1 lqfp top view MAXQ612
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 13 pin description pin configurations (continued) pin name function MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp power pins 13 22 22 v dd supply voltage 15, 28, 41 8, 24, 35, 63 8, 17, 24, 35, 63 gnd ground 14 23 23 reg18 regulator capacitor. this pin must be connected to ground through a 1.0 f f external ceramic-chip capacitor. the capacitor must be placed as close to this pin as possible. no external devices other than the capaci - tor should be connected to this pin. ep exposed pad (tqfn only). connect ep to the ground plane. 58 59 60 61 62 54 55 56 57 63 38 39 40 41 42 43 44 45 46 47 p4.4 p0.1/rx0 n.c. n.c. p1.0/int0 p2.7/tdo p2.6/tms p2.5/tdi p2.4/tck p5.3/ssel1 p5.2/sclk1 p5.1/miso1 52 53 49 50 51 p5.0/mosi1 n.c. gnd p3.7/int15 p3.6/int14 p0.0/irtxm p0.3/rx1/sda p0.2/tx0 p0.5/tba0/tba1 p0.4/tx1/scl p0.6/tbb0 gnd p2.0/mosi0 p0.7/tbb1 p2.2/sclk0 p2.1/miso0 reset p2.3/ssel0 dp p3.4/int12 p3.3/int11 p3.2/int10 p3.1/int9 p3.0/int8 hfxout hfxin gnd reg18 v dd 33 34 35 36 37 v ddio v ddb v bus dm gnd p4.3 p4.2 p4.1 p4.0 p1.7/int7 irtx gnd p4.7 p4.6 p4.5 p1.6/int6 p1.5/int5 p1.4/int4 p1.3/int3 48 p3.5/int13 p1.2/int2 64 p1.1/int1 irrx 23 22 21 20 19 27 26 25 24 18 29 28 32 31 30 17 11 10 9 8 7 6 5 4 3 2 16 15 14 13 12 1 lqfp top view maxq622
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 14 _____________________________________________________________________________________ pin description (continued) pin name function MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp reset pins 12 15 15 reset digital, active-low, reset input/output. the cpu is held in reset when this pin is low and begins executing from the reset vector when released. the pin includes pullup current source and should be driven by an open-drain, external source capable of sinking in excess of 4ma. this pin is driven low as an output when an internal reset condition occurs. clock pins 16 25 25 hfxin high-frequency crystal input. connect an external crystal or resona - tor between hfxin and hfxout as the high-frequency system clock. alternatively, hfxin is the input for an external, high-frequency clock source when hfxout is shorted to ground during por. 17 26 26 hfxout usb function pins 19 v bus usb v bus supply voltage. connect v bus to a positive 5.0v power sup - ply. bypass v bus to ground with a 1.0 f f ceramic capacitor as close to the v bus pin as possible. 16 dp usb d+ signal. this bidirectional pin carries the positive differential data or single-ended data. connect this pin to a usb b connector. this pin is weakly pulled high internally when the usb is disabled. 18 dm usb d- signal. this bidirectional pin carries the negative differential data or single-ended data. connect this pin to a usb b connector. this pin is weakly pulled high internally when the usb is disabled. 20 v ddb usb transceiver supply voltage. this is the power output of the internal voltage regulator that is used for the usb transceiver (3.3v) block. this pin is bypassed to ground with a 1.0 f f capacitor as close as possible to the package. no external circuitry should be powered from this pin. 21 v ddio switched 3v power supply. this is the power output after selection between v bus and v dd . must be connected to an external ceramic chip capacitor. the capacitor must be placed as close to this pin as possible. no external devices other than the capacitor should be con - nected to this pin. ir function pins 42 64 64 irtx ir transmit output. active-low ir transmit pin capable of sinking 25ma. this pin defaults to three-state input with the weak pullup disabled dur - ing all forms of reset. software must configure this pin after release from reset to remove the three-state input condition. 43 1 1 irrx ir receive input
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 15 pin description (continued) pin name function MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp general-purpose i/o and special function pins 44, 1C7 2C7, 9, 10 2C7, 9, 10 p0.0Cp0.7; irtxm, rx0, tx0, rx1, tx1, sda, scl, tba0, tba1, tbb0, tbb1 general-purpose, digital, i/o, type c port. these port pins function as bidirectional i/o pins. all port pins default to three-state mode after a reset. all alternate functions must be enabled from software. MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp port special function 44 2 2 p0.0 irtxm 1 3 3 p0.1 rx0 2 4 4 p0.2 tx0 3 5 5 p0.3 rx1/sda 4 6 6 p0.4 tx1/scl 5 7 7 p0.5 tba0/tba1 6 9 9 p0.6 tbb0 7 10 10 p0.7 tbb1 33C40 45, 48C54 45, 48C54 p1.0Cp1.7; int0Cint7 general-purpose, digital, i/o, type d port; external edge-selectable interrupt. these port pins function as bidirectional i/o pins or as inter - rupts. all port pins default to three-state mode after a reset. all interrupt functions must be enabled from software. MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp port special function 33 45 45 p1.0 int0 34 48 48 p1.1 int1 35 49 49 p1.2 int2 36 50 50 p1.3 int3 37 51 51 p1.4 int4 38 52 52 p1.5 int5 39 53 53 p1.6 int6 40 54 54 p1.7 int7
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 16 _____________________________________________________________________________________ pin description (continued) pin name function MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp 8C11, 29C32 11C14, 41C44 11C14, 41C44 p2.0Cp2.7; mosi0, miso0, sclk0, ssel0 , tck, tdi, tms, tdo general-purpose, digital, i/o, type c port. these port pins function as bidirectional i/o pins. p2.0 to p2.3 default to three-state mode after a reset. all alternate functions must be enabled from software. enabling the pins special function disables the general-purpose i/o on the pin. the jtag pins (p2.4 to p2.7) default to their jtag function with weak pullups enabled after a reset. the jtag function can be disabled using the tap bit in the sc register. p2.7 functions as the jtag test-data output on reset and defaults to an input with a weak pullup. the output function of the test data is only enabled during the taps shift_ir or shift_dr states. MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp port special function 8 11 11 p2.0 mosi0 9 12 12 p2.1 miso0 10 13 13 p2.2 sclk0 11 14 14 p2.3 ssel0 29 41 41 p2.4 tck 30 42 42 p2.5 tdi 31 43 43 p2.6 tms 32 44 44 p2.7 tdo 18C25 27C34 27C34 p3.0Cp3.7; int8Cint15 general-purpose, digital, i/o, type d port; external edge-selectable interrupt. these port pins function as bidirectional i/o pins or as inter - rupts. all port pins default to three-state mode after a reset. all interrupt functions must be enabled from software. MAXQ612 tqfn MAXQ612 lqfp maxq622 lqfp port special function 18 27 27 p3.0 int8 19 28 28 p3.1 int9 20 29 29 p3.2 int10 21 30 30 p3.3 int11 22 31 31 p3.4 int12 23 32 32 p3.5 int13 24 33 33 p3.6 int14 25 34 34 p3.7 int15
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 17 detailed description the MAXQ612/maxq622 provide integrated, low-cost solutions that simplify the design of ir communications equipment such as universal remote controls. standard features include the highly optimized, single-cycle, maxq, 16-bit risc core; 128kb of flash memory; 6kb data ram; soft stack; 16 general-purpose registers; and three data pointers. the maxq core has the industrys best mips/ma rating, allowing developers to achieve the same performance as competing microcontrollers at substantially lower clock rates. lower active-mode cur - rent combined with the even lower MAXQ612/maxq622 stop-mode current results in increased battery life. ir application-specific peripherals include flexible timers for generating ir carrier frequencies and modulation. a high-current, 25ma, ir drive pin and output pins capable of sinking up to 5ma support ir applications. it also includes a usb slave interface compatible with existing host hid device drivers, i 2 c, dual spi, dual usarts, up to 56 general-purpose i/o pins ideal for keypad matrix input, and a power-fail-detection circuit to notify. operating from dc to 12mhz, almost all instructions execute in a single clock cycle (83.3ns at 12mhz), enabling nearly 12mips true-code operation. when active device opera - tion is not required, an ultra-low-power stop mode can be invoked from software, resulting in quiescent current con - sumption of less than 300na typical and 3 f a maximum. the combination of high-performance instructions and ultra-low pin description (continued) pin name function MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp 55-62 55C62 p4.0Cp4.7 general-purpose, digital, i/o, type c port. these port pins function as bidirectional i/o pins. all port pins default to three-state mode after a reset. MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp port special function 55 55 p4.0 56 56 p4.1 57 57 p4.2 58 58 p4.3 59 59 p4.4 60 60 p4.5 61 61 p4.6 62 62 p4.7 37C40 37C40 p5.0Cp5.3; mosi1, miso1, sclk1, ssel1 general-purpose, digital, i/o, type c port. these port pins function as bidirectional i/o pins. all port pins default to three-state mode after a reset. all alternate functions must be enabled from software. enabling the pins special function disables the general-purpose i/o on the pin. MAXQ612 tqfn-ep MAXQ612 lqfp maxq622 lqfp port special function 37 37 p5.0 mosi1 38 38 p5.1 miso1 39 39 p5.2 sclk1 40 40 p5.3 ssel1 no connection pins 26, 27 16C21, 36, 46, 47 36, 46, 47 n.c. no connection. reserved for future use. leave these pins unconnected.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 18 _____________________________________________________________________________________ stop-mode current increases battery life over competing microcontrollers. an integrated por circuit with brownout support resets the device to a known condition following a power-up cycle or brownout condition. additionally, a power- fail warning flag is set, and a power-fail interrupt can be generated when the system voltage falls below the power- fail warning voltage, v pfw . the power-fail warning feature allows the application to notify the user that the system sup - ply is low and appropriate action should be taken. microprocessor the MAXQ612/maxq622 are based on maxims maxq20 core, which is a low-power implementation of the new 16-bit maxq family of risc cores. the core supports the harvard memory architecture with separate internal 16-bit program and data address buses. a fixed 16-bit instruction word is standard, but data can be arranged in 8 or 16 bits. the maxq core is a pipelined proces - sor with performance approaching 1mips per mhz. the 16-bit data path is implemented around register modules, and each register module contributes specific functions to the core. the accumulator module consists of sixteen 16-bit registers and is tightly coupled with the arithmetic logic unit (alu). program flow is supported by a configurable soft stack. execution of instructions is triggered by data transfer between functional register modules or between a func - tional register module and memory. because data move - ment involves only source and destination modules, circuit switching activities are limited to active modules only. for power-conscious applications, this approach localizes power dissipation and minimizes switching noise. the modular architecture also provides a maxi - mum of flexibility and reusability that are important for a microprocessor used in embedded applications. the maxq instruction set is highly orthogonal. all arith - metical and logical operations can use any register in conjunction with the accumulator. data movement is supported from any register to any other register. memory is accessed through specific data-pointer regis - ters with autoincrement/decrement support. memory the microcontroller incorporates several memory types: ? 128kb program flash memory ? 6kb sram data memory ? 6kb utility rom ? soft stack memory protection the optional memory-protection feature separates code memory into three areas: system, user loader, and user application. code in the system area can be kept con - fidential. code in the user areas can be prevented from reading and writing system code. the user loader can also be protected from user application code. memory protection is implemented using privilege levels for code. each area has an associated privilege level. ram/rom are assigned privilege levels as well. refer to the maxq622 users guide for a more thorough expla - nation of the topic. stack memory a 16-bit-wide internal stack provides storage for pro - gram return addresses and can also be used for general- purpose data storage. the stack is used automatically by the processor when the call, ret, and reti instruc - tions are executed and when an interrupt is serviced. an application can also store values in the stack explicitly by using the push, pop, and popi instructions. on reset, the stack pointer, sp, initializes to the top of the stack (bf0h). the call, push, and interrupt-vectoring operations decrement sp, then store a value at the loca - tion pointed to by sp. the ret, reti, pop, and popi operations retrieve the value at sp and then increment sp. utility rom the utility rom is a 6kb block of internal rom memory that defaults to a starting address of 8000h. the utility table 1. memory areas and associated maximum privilege levels area page address maximum privilege level system 0 to uldr-1 high user loader uldr to uapp-1 medium user application uapp to top low utility rom n/a high other (ram) n/a low
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 19 rom consists of subroutines that can be called from application software. these include the following: ? in-system programming (bootstrap loader) using jtag interface ? in-circuit debug routines ? test routines (internal memory tests, memory loader, etc.) ? user-callable routines for in-application flash memory programming and fast table lookup following any reset, execution begins in the utility rom. the rom software determines whether the program execution should immediately jump to location 0000h, the start of system code, or to one of the special rou - tines mentioned. routines within the utility rom are user accessible and can be called as subroutines by the application software. more information on the utility rom functions is contained in the maxq622 users guide . some applications require protection against unau - thorized viewing of program code memory. for these applications, access to in-system programming, in- application programming, or in-circuit debugging func - tions is prohibited until a password has been supplied. the password is defined as the 16 words of physical program memory at addresses 0010h to 001fh. three password locks protect three different program memory segments. when the pwl is set to one (power- on reset default) and the contents of the memory at addresses 0010h to 001fh are any value other than ffh or 00h, the password is required to access the utility rom, including in-circuit debug and in-system program - ming routines that allow reading or writing of internal memory. when pwl is cleared to zero, these utilities are fully accessible without password. the pwls bit uses a password that is at uldr + 0010 to uldr + 001f, and the pwll uses a password at uapp + 0010 to uapp + 001f. the password is automatically set to all ones fol - lowing a mass erase. watchdog timer the internal watchdog timer greatly increases system reliability. the timer resets the device if software execu - tion is disturbed. the watchdog timer is a free-running counter designed to be periodically reset by the applica - tion software. if software is operating correctly, the coun - ter is periodically reset and never reaches its maximum count. however, if software operation is interrupted, the timer does not reset, triggering a system reset and optionally a watchdog timer interrupt. this protects the system against electrical noise or electrostatic discharge (esd) upsets that could cause uncontrolled processor operation. the internal watchdog timer is an upgrade to older designs with external watchdog devices, reducing system cost and simultaneously increasing reliability. the watchdog timer functions as the source of both the watchdog timer timeout and the watchdog timer reset. the timeout period can be programmed in a range of 2 15 to 2 24 system clock cycles. an interrupt is gener - ated when the timeout period expires if the interrupt is enabled. all watchdog timer resets follow the pro - grammed interrupt timeouts by 512 system clock cycles. if the watchdog timer is not restarted for another full interval in this time period, a system reset occurs when the reset timeout expires. ir carrier generation and modulation timer the dedicated ir timer/counter module simplifies low- speed infrared (ir) communication. the ir timer imple - ments two pins (irtx and irrx) for supporting ir transmit and receive, respectively. the irtx pin has no corresponding port pin designation, so the standard pd, po, and pi port control status bits are not present. however, the irtx pin output can be manipulated high or low using the pwcn.irtxout and pwcn.irtxoe bits when the ir timer is not enabled (i.e., iren = 0). table 2. watchdog interrupt timeout (sysclk = 12mhz, cd[1:0] = 00) wd[1:0] watchdog clock watchdog interrupt timeout watchdog reset after watchdog interrupt (s) 00 sysclk/2 15 2.7ms 42.7 01 sysclk/2 18 21.9ms 42.7 10 sysclk/2 21 174.7ms 42.7 11 sysclk/2 24 1.4s 42.7
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 20 _____________________________________________________________________________________ the ir timer is composed of a carrier generator and a carrier modulator. the carrier generation module uses the 16-bit ir carrier register (irca) to define the high and low time of the carrier through the ir carrier high byte (ircah) and ir carrier low byte (ircal). the carrier modulator uses the ir data bit (irdata) and ir modula - tor time register (irmt) to determine whether the carrier or the idle condition is present on irtx. carrier generation module the ircah byte defines the carrier high time in terms of the number of ir input clocks, whereas the ircal byte defines the carrier low time. ? ir input clock (f irclk ) = f sys /2 irdiv[1:0] ? carrier frequency (f carrier ) = f irclk /(ircah + ircal + 2) ? carrier high time = ircah + 1 ? carrier low time = ircal + 1 ? carrier duty cycle = (ircah + 1)/(ircah + ircal + 2) during transmission, the irca register is latched for each irv downcount interval, and is sampled along with the irtxpol and irdata bits at the beginning of each new irv downcount interval so that duty-cycle variation and frequency shifting is possible from one interval to the next. the starting/idle state and the carrier polarity of the irtx pin can be configured when the ir timer is enabled. ir transmission during ir transmission (irmode = 1), the carrier gen - erator creates the appropriate carrier waveform, while the carrier modulator performs the modulation. the car - rier modulation can be performed as a function of carrier cycles or irclk cycles dependent on the setting of the ircfme bit. when ircfme = 0, the irv down counter is clocked by the carrier frequency and thus the modula - tion is a function of carrier cycles. when ircfme = 1, the irv down counter is clocked by irclk, allowing carrier modulation timing with irclk resolution. the irtxpol bit defines the starting/idle state as well as the carrier polarity for the irtx pin. if irtxpol = 1, the irtx pin is set to a logic-high when the ir timer module is enabled. if irtxpol = 0, the irtx pin is set to a logic-low when the ir timer is enabled. a separate register bit, ir data (irdata), is used to determine whether the carrier generator output is output to the irtx pin for the next irmt carrier cycles. when irdata = 1, the carrier waveform (or inversion of this waveform if irtxpol = 1) is output on the irtx pin dur - ing the next irmt cycles. when irdata = 0, the idle condition, as defined by irtxpol, is output on the irtx pin during the next irmt cycles. the ir timer acts as a down counter in transmit mode. an ir transmission starts when the iren bit is set to 1 when irmode = 1; when the irmode bit is set to 1 when iren = 1; or when iren and irmode are both set to 1 in the same instruction. the irmt and irca registers, along with the irdata and irtxpol bits, are sampled at the beginning of the transmit process and every time the ir timer value reload its value. when the irv reaches 0000h value, on the next carrier clock, it does the following: 1) reloads irv with irmt. 2) samples irca, irdata, and irtxpol. 3) generates irtx accordingly. 4) sets irif to 1. 5) generates an interrupt to the cpu if enabled (irie = 1). ir transmitindependent external carrier and modulator outputs the normal transmit mode modulates the carrier based upon the irdata bit. however, the user has the option to input the modulator (envelope) on an external pin if desired. the irdata bit is output directly to the irtxm pin (if irtxpol = 0) on each irv downcount interval boundary just as if it were being used to internally modu - late the carrier frequency. if irtxpol = 1, the inverse of the irdata bit is output to the irtxm pin on the irv interval downcount boundaries. when the envelope mode is enabled, it is possible to output either the modu - lated (irenv[1:0] = 01b) or unmodulated (inenv[1:0] = 10b) carrier to the irtx pin. ir receive when configured in receive mode (irmode = 0), the ir hardware supports the irrx capture function. the irrxsel[1:0] bits define which edge(s) of the irrx pin should trigger the ir timer capture function. once started, the ir timer (irv) starts up counting from 0000h when a qualified capture event as defined by irrxsel happens. the irv register is, by default, counting carrier cycles as defined by the irca register. however, the ir carrier frequency detect (ircfme) allows clocking of the irv register directly with the irclk for finer resolution. when ircfme = 0, the irca defined carrier is counted by irv. when ircfme = 1, the irclk clocks the irv register. on the next qualified event, it does the following: 1) captures the irrx pin state and transfers its value to irdata. if a falling edge occurs, irdata = 0. if a rising edge occurs, irdata = 1.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 21 2) transfers its current irv value to the irmt. 3) resets irv content to 0000h (if irxrl = 1). 4) continues counting again until the next qualified event. if the ir timer value rolls over from 0ffffh to 0000h before a qualified event happens, the ir timer overflow (irov) flag is set to 1 and an interrupt is generated, if enabled. the ir module continues to operate in receive mode until it is stopped by switching into transmit mode or clearing iren = 0. carrier burst-count mode a special mode reduces the cpu processing burden when performing ir learning functions. typically, when operating in an ir learning capacity, some number of carrier cycles are examined for frequency determination. once the frequency has been determined, the ir receive function can be reduced to counting the number of car - rier pulses in the burst and the duration of the combined mark-space time within the burst. to simplify this pro - cess, the receive burst-count mode can be used. when rxbcnt = 0, the standard ir receive capture function - ality is in place. when rxbcnt = 1, the irv capture operation is disabled and the interrupt flag associated with the capture no longer denotes a capture. in the carrier burst-count mode, the irmt register only counts qualified edges. the irif interrupt flag now sets if two irca cycles elapse without getting a qualified edge. the irif interrupt flag thus denotes absence of the carrier and the beginning of a space in the receive signal. the ircfme bit is still used to define whether the irv register is counting system irclk clocks or irca-defined carrier cycles. the irxrl bit defines whether the irv register is reloaded with 0000h on detection of a qualified edge (per the irxsel[1:0] bits). 16-bit timers/counters the microcontroller provides two general-purpose tim - ers/counters that support the following functions: ? 16-bit timer/counter ? 16-bit up/down autoreload ? counter function of external pulse ? 16-bit timer with capture ? 16-bit timer with compare ? input/output enhancements for pulse-width modulation ? set/reset/toggle output state on comparator match ? prescaler with 2n divider (for n = 0, 2, 4, 6, 8, 10) general-purpose i/o the microcontroller provides port pins for general-pur - pose i/o that have the following features: ? cmos output drivers ? schmitt trigger inputs ? optional weak pullup to v dd when operating in input mode while the microcontroller is in a reset state, all port pins become three-state with both weak pullups and input buffers disabled, unless otherwise noted. from a software perspective, each port appears as a group of peripheral registers with unique addresses. special function pins can also be used as general-pur - pose i/o pins when the special functions are disabled. for a detailed description of the special functions avail - able for each pin, refer to the ic-specific users guide, e.g., the maxq622 users guide describes all special functions available on the MAXQ612/maxq622. serial peripherals the microcontroller supports two independent usarts, two spi master/slave communications ports, and an i 2 c bus. usart the usart units are implemented with the following characteristics: ? 2-wire interface ? full-duplex operation for asynchronous data transfers ? half-duplex operation for synchronous data transfers ? programmable interrupt for receive and transmit ? independent baud-rate generator table 3. usart mode details mode type start bits data bits stop bits mode 0 synchronous n/a 8 n/a mode 1 asynchronous 1 8 1 mode 2 asynchronous 1 8 + 1 1 mode 3 asynchronous 1 8 + 1 1
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 22 _____________________________________________________________________________________ ? programmable 9th bit parity support ? start/stop bit support serial peripheral interface (spi) the dual-integrated spi interfaces provide independent serial communication channels that communicate syn - chronously with peripheral devices in a multiple master or multiple slave system. the interface allows access to a 4-wire, full-duplex serial bus, and can be operated in either master mode or slave mode. collision detection is provided when two or more masters attempt a data transfer at the same time. the maximum spi master transfer rate is sysclk/2. when operating as an spi slave, the MAXQ612/maxq622 can support up to sysclk/4 spi transfer rate. data is trans - ferred as an 8-bit or 16-bit value, msb first. in addition, the spi module supports configuration of an active ssel state through the slave active select. separate pins and registers are used to differentiate between the two spi ports. i 2 c bus the microcontroller integrates an internal i 2 c bus mas - ter/slave for communication with a wide variety of other i 2 cCenabled peripherals. the i 2 c bus is a 2-wire, bidi - rectional bus using two bus linesthe serial data line (sda) and the serial clock line (scl)and a ground line. both the sda and sdl lines must be driven as open- collector/drain outputs. external resistors are required as shown in figure 1 to pull the lines to a logic-high state. the device supports both the master and slave proto - cols. in the master mode, the device has ownership of the i 2 c bus, drives the clock, and generates the start and stop signals. this allows it to send data to a slave or receive data from a slave as required. in slave mode, the device relies on an externally generated clock to drive scl and responds to data and commands only when requested by the i 2 c master device. usb controller (maxq622 only) the integrated usb controller is compliant with the usb 2.0 specification, providing full-speed operation with the newest generation of usb peripherals. the usb con - troller functions as a full-speed usb peripheral device. integrating the usb physical interface (phy) allows direct connection to the usb cable, reducing board space and overall system cost. a system interrupt can be enabled to signal that the usb needs to be serviced. the cpu communicates to the usb controller module through the sfr interface. the microcontroller is seen by a usb host as a peripheral, characterized by the fol - lowing endpoints: ? ep0: bidirectional control endpoint with a 64-byte data storage. ? ep1-out: bulk (or int) out endpoint. double- buffered 64 bytes data storage. ? ep2-in: bulk (or int) in endpoint. double-buffered 64 bytes data storage. ? ep3-in: bulk (or int) in endpoint. single-buffered 64 bytes data storage. the choice to use ep1, ep2, and ep3 as bulk or interrupt endpoints is strictly a function of the end - point descriptors that the usb controller returns to the usb host during enumeration. the usb controller communicates to a total of 384 bytes of endpoint data memory (2 x 64 bytes for each data moving endpoint ep1 and ep2), 64 bytes for the control endpoint, and 64 bytes for endpoint ep3. double-buffering ep1 and ep2 improves throughput by allowing the cpu to read or load the next packet while the usb controller is moving the current packet over usb. ep3-in is intended to serve as a large interrupt endpoint for various usb class specifications such as the still image capture device. it can also be used as a second bulk in endpoint. on-chip oscillator an external quartz crystal or a ceramic resonator can be connected between hfxin and hfxout, as illustrated in figure 3. to operate the core from an external clock, connect the clock source to the hfxin pin and connect the hfxout figure 3. on-chip oscillator v dd hfxin clock circuit r f = 1mi q50% c1 = c2 = 12pf stop hfxout c2 c1 r f
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 23 pin to gnd. the clock source should be driven through a cmos driver. if the clock driver is a ttl gate, its output must be connected to v dd through a pullup resistor to ensure a satisfactory logic level for active clock pulses. to minimize system noise on the clock circuitry, the external clock source must meet the maximum rise and fall times and the minimum high and low times specified for the clock source. the external noise can affect the clock generation circuit if these parameters do not meet the specification. noise at hfxin and hfxout can adversely affect on- chip clock timing. it is good design practice to place the crystal and capacitors as near the oscillator circuitry as possible with a direct short trace. the typical values of external capacitors vary with the type of crystal to be used. rom loader the rom loader loads program memory and config - ures loader-specific configuration features. to increase the security of the system, the loader denies access to the system, user loader, or user-application memories unless an area-specific password is provided. loading flash memory an internal bootstrap loader allows reloading over a simple jtag interface. as a result, software can be upgraded in-system, eliminating the need for a costly hardware retrofit when updates are required. remote software uploads are possible that enable physically inaccessible applications to be frequently updated. the interface hardware can be a jtag connection to another microcontroller, or a connection to a pc serial port using a usb-to-jtag converter such as the maxqusbjtag- kit#, available from maxim. if in-system programmabil - ity is not required, a commercial gang programmer can be used for mass programming. activating the jtag interface and loading the test access port (tap) with the system programming instruction invokes the bootstrap loader. setting the spe bit to one during reset through the jtag interface executes the bootstrap-loader mode program that resides in the utility rom. when program - ming is complete, the bootstrap loader can clear the spe bit and reset the device, allowing the device to bypass the utility rom and begin execution of the application software. in addition, the rom loader also enforces the memory- protection policies. passwords that are 16 words are required to access the rom loader interface. in-application flash programming from user-application code, flash memory can be pro - grammed using the rom utility functions from either c or assembly language. the function declarations below show examples of some of the rom utility functions provided for in-application flash memory programming: /* write one 16-bit word to code address dest. * dest must be aligned to 16 bits. * returns 0 = failure, 1 = ok. */ int flash_write (uint16_t dest, uint16_t data); to erase, the following function would be used: /* erase the given flash page * addr: flash offset (anywhere within page) */ int flash_erasepage(uint16_t addr); the in-application flash memory programming must call rom utility functions to erase and program any of the flash memory. memory protection is enforced by the rom utility functions. in-circuit debug and jtag interface embedded debug hardware and software are devel - oped and integrated to provide full in-circuit debugging capability in a user-application environment. these hard - ware and software features include the following: ? debug engine ? set of registers providing the ability to set breakpoints on register, code, or data using debug service rou - tines stored in rom collectively, these hardware and software features sup - port two modes of in-circuit debug functionality: ? background mode: cpu is executing the normal user program allows the host to configure and set up the in-circuit debugger ? debug mode: debugger takes over the control of the cpu read/write accesses to internal registers and memory single-step of the cpu for trace operation the interface to the debug engine is the tap control - ler. the interface allows for communication with a bus
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 24 _____________________________________________________________________________________ master that can either be automatic test equipment or a component that interfaces to a higher level test bus as part of a complete system. the communication operates across a 4-wire serial interface from a dedicated tap that is compatible with the jtag ieee standard 1149. the tap provides an independent serial channel to com - municate synchronously with the host system. to prevent unauthorized access of the protected memo - ry regions through the jtag interface, the debug engine prevents modification of the privilege registers and disallows all access to system memory, unless memory protection is disabled. in addition, all services (such as register display or modification) are denied when code is executing inside the system area. operating modes power-supply selection for maximum flexibility the microcontroller can be pow - ered by either the usb (v bus ) or v dd . when a usb connection is made to a valid v bus power source, an internal voltage regulator generates a 3.3v supply volt - age. when the internal voltage is at an adequate level, it automatically powers itself from the usb supply. this is especially beneficial in systems where the v dd supply is from a battery. in either case, the chip is fully functional when operating from either the battery or the v bus . the power monitor is attached to the switched supply, v ddio . this supply is equivalent to the higher of v ddb or v dd . this can be expressed as follows: if (v ddb > 3.0v or v ddb > v dd ) then (v ddio = v ddb ) else (v ddio = v dd ) this means that if there is a power-fail event on v dd and the device is not powered from v bus , it causes a power- fail interrupt (pfi) if enabled. if the device is powered by v bus and there is a supply on v dd , then no power-fail event is triggered. if the device is powered by v bus and there is no supply on v dd and v bus fails, the chip attempts to switch to v dd , detects a power-fail event, and a pfi occurs. some specific examples are given below: ? case 1: the device is powered from v dd and the batteries are removed. power decays until the power-fail-reset trip point is hit, then the part goes into low-power mode. ? case 2: the device is set to be powered from v dd only, it is connected to usb, and the batteries are removed. response is identical to case 1. ? case 3: the device is set to be powered from either v dd or v bus , it is connected to usb, and the bat - teries are removed. because the part is already powered from v bus , nothing changes. if the usb port is subsequently disconnected, power switches over to v dd , the supply decays to the power-fail-reset trip point, and the part goes into low-power mode. as long as there is sufficient charge on the v dd bypass capacitor, it supports the part in power-fail. the hold- up time is similar to the maxq610 since the usb port is powered only by v bus . note that if the part is powered from v bus and no battery has been present for a long time (v dd = 0), then upon usb port discon - nection, the power collapses to ground in less than a second. stop mode the lowest power mode of operation is stop mode. in this mode, cpu state and memories are preserved, but the cpu is not actively running. wake-up sources include external i/o interrupts, the power-fail warning interrupt, wake-up timer, or a power-fail reset. any time the micro - controller is in a state where code does not need to be executed, the user software can put the microcontroller into stop mode. the nanopower ring oscillator is an inter - nal ultra-low-power (400na) 8khz ring oscillator that can be used to drive a wake-up timer that exits stop mode. the wake-up timer is programmable by software in steps of 125 f s up to approximately 8s. the power-fail monitor is always on during normal opera - tion. however, it can be selectively disabled during stop figure 4. in-circuit debugger tap controller cpu debug engine debug service routines (utility rom) control breakpoint address data MAXQ612 maxq622 tms tck tdi tdo
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 25 mode to minimize power consumption. this feature is enabled using the power-fail monitor disable (pfd) bit in the pwcn register. the reset default state for the pfd bit is 1, which disables the power-fail monitor function during stop mode. if power-fail monitoring is disabled (pfd = 1) during stop mode, the circuitry responsible for generating a power-fail warning or reset is shut down and neither condition is detected. thus, the v dd < v rst condition does not invoke a reset state. however, in the event that v dd falls below the por level, a por is gen - erated. the power-fail monitor is enabled prior to stop mode exit and before code execution begins. if a power- fail warning condition (v dd < v pfw ) is then detected, the power-fail interrupt flag is set on stop mode exit. if a power-fail reset condition is detected (v dd < v rst ), the cpu goes into reset. power-fail warning the power-fail monitor can assert an interrupt if the volt - age falls below a configurable threshold between the operating voltage and the reset voltage. this, if enabled, can allow the firmware to perform housekeeping tasks if the voltage level decays below the warning threshold. the power-fail threshold value should only be changed when the power-fail warning interrupt is disabled (ckcn. pfie = 0) to prevent unintended triggering of the power- fail warning condition. the power-fail warning threshold is reset to 1.8v by a por and is not affected by other resets. see table 4. power-fail detection figures 5, 6, and 7 show the power-fail detection and response during normal and stop-mode operation. if a reset is caused by a power-fail, the power-fail monitor can be set to one of the following intervals: ? always oncontinuous monitoring ? 2 11 nanopower ring oscillator clocks (~256ms) ? 2 12 nanopower ring oscillator clocks (~512ms) ? 2 13 nanopower ring oscillator clocks (~1.024s) in the case where the power-fail circuitry is periodically turned on, the power-fail detection is turned on for two table 4. power-fail warning level selection figure 5. power-fail detection during normal operation a b c d f g h i e v dd v pfw v rst v por internal reset (active high) t < t pfw t t pfw t t pfw t t pfw pwcn.pfwarncn[1:0] pfw threshold (v) 00 1.8 01 1.9 10 2.55 11 2.75
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 26 _____________________________________________________________________________________ nanopower ring-oscillator cycles. if v dd > v rst during detection, v dd is monitored for an additional nanopower ring-oscillator period. if v dd remains above v rst for the third nanopower ring period, the cpu exits the reset state and resumes normal operation from utility rom at 8000h after satisfying the crystal warmup period. if a reset is generated by any other event, such as the reset pin being driven low externally or the watchdog timer, the power-fail, internal regulator, and crystal remain on during the cpu reset. in these cases, the cpu exits the reset state in less than 20 crystal cycles after the reset source is removed. table 5. power-fail detection states during normal operation state power-fail internal regulator crystal oscillator sram retention comments a on off off v dd < v por . b on on on v por < v dd < v rst . crystal warmup time, t xtal_rdy . cpu held in reset. c on on on v dd > v rst . cpu normal operation. d on on on power drop too short. power-fail not detected. e on on on v rst < v dd < v pfw . pfi is set when v rst < v dd < v pfw and maintains this state for at least t pfw , at which time a power-fail interrupt is gener - ated (if enabled). cpu continues normal operation. f on (periodically) off off yes v por < v dd < v rst . power-fail detected. cpu goes into reset. power-fail monitor turns on periodically. g on on on v dd > v rst . crystal warmup time, t xtal_rdy . cpu resumes normal operation from 8000h. h on (periodically) off off yes v por < v dd < v rst . power-fail detected. cpu goes into reset. power-fail monitor turns on periodically. i off off off v dd < v por . device held in reset. no operation allowed.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 27 table 6. stop mode power-fail detection states with power-fail monitor enabled figure 6. stop mode power-fail detection states with power-fail monitor enabled v pfw v rst v por a b c d e f v dd t < t pfw t t pfw t t pfw stop internal reset (active high) state power-fail internal regulator crystal oscillator sram retention comments a on off off yes application enters stop mode. v dd > v rst . cpu in stop mode. b on off off yes power drop too short. power-fail not detected. c on on on yes v rst < v dd < v pfw . power-fail warning detected. turn on regulator and crystal. crystal warmup time, t xtal_rdy . exit stop mode. d on off off yes application enters stop mode. v dd > v rst . cpu in stop mode. e on (periodically) off off yes v por < v dd < v rst . power-fail detected. cpu goes into reset. power-fail monitor turns on periodically. f off off off v dd < v por . device held in reset. no operation allowed.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 28 _____________________________________________________________________________________ figure 7. stop mode power-fail detection with power-fail monitor disabled table 7. stop mode power-fail detection states with power-fail monitor disabled v pfw v rst v por v dd a b c d e f stop interrupt internal reset (active high) state power-fail internal regulator crystal oscillator sram retention comments a off off off yes application enters stop mode. v dd > v rst . cpu in stop mode. b off off off yes v dd < v pfw . power-fail not detected because power-fail monitor is disabled. c on on on yes v rst < v dd < v pfw . an interrupt occurs that causes the cpu to exit stop mode. power-fail monitor is turned on, detects a power-fail warning, and sets the power-fail interrupt flag. turn on regulator and crystal. crystal warmup time, t xtal_rdy . on stop mode exit, cpu vectors to the higher priority of power-fail and the inter - rupt that causes stop mode exit.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 ______________________________________________________________________________________ 29 applications information the low-power, high-performance risc architecture of this device makes it an excellent fit for many portable or battery-powered applications. it is ideally suited for applications such as universal remote controls that require the cost-effective integration of ir transmit/ receive capability. grounds and bypassing careful pcb layout significantly minimizes system-level digital noise that could interact with the microcontroller or peripheral components. the use of multilayer boards is essential to allow the use of dedicated power planes. the area under any digital components should be a con - tinuous ground plane if possible. keep bypass capacitor leads short for best noise rejection and place the capaci - tors as close to the leads of the devices as possible. cmos design guidelines for any semiconductor require that no pin be taken above v dd or below gnd. violation of this guideline can result in a hard failure (damage to the silicon inside the device) or a soft failure (uninten - tional modification of memory contents). voltage spikes above or below the devices absolute maximum ratings can potentially cause a devastating ic latchup. microcontrollers commonly experience negative volt - age spikes through either their power pins or general- purpose i/o pins. negative voltage spikes on power pins are especially problematic as they directly couple to the internal power buses. devices such as keypads can conduct electrostatic discharges directly into the micro - controller and seriously damage the device. system designers must protect components against these tran - sients that can corrupt system memory. additional documentation designers must have the following documents to fully use all the features of this device. this data sheet contains pin descriptions, feature overviews, and elec - trical specifications. errata sheets contain deviations from published specifications. the users guides offer detailed information about device features and opera - tion. the following documents can be downloaded from www.maxim-ic.com/microcontrollers . ? this MAXQ612/maxq622 data sheet, which contains electrical/timing specifications and pin descriptions. ? the MAXQ612 /maxq622 revision-specific errata sheet ( www.maxim-ic.com/errata ). ? the maxq622 users guide , which contains detailed information on features and operation, including pro - gramming. table 7. stop mode power-fail detection states with power-fail monitor disabled (continued) state power-fail internal regulator crystal oscillator sram retention comments d off off off yes application enters stop mode. v dd > v rst . cpu in stop mode. e on (periodically) off off yes v por < v dd < v rst . an interrupt occurs that causes the cpu to exit stop mode. power-fail monitor is turned on, detects a power-fail, and puts cpu in reset. power-fail monitor is turned on periodically. f off off off v dd < v por . device held in reset. no operation allowed.
16-bit microcontrollers with infrared module and optional usb MAXQ612/maxq622 maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. 30 maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ? 2010 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. development and technical support maxim and third-party suppliers provide a variety of highly versatile, affordably priced development tools for this microcontroller, including the following: ? compilers ? in-circuit emulators ? integrated development environments (ides) ? jtag-to-serial converters for programming and debugging a partial list of development tool vendors can be found at www.maxim-ic.com/maxq_tools . for technical support, go to https://support.maxim-ic. com/micro . package information for the latest package outline information and land patterns, go to www.maxim-ic.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. block diagram 16-bit maxq risc cpu 8khz nano ring 6kb sram ir timer 2x spi 2x usart i 2 c 128kb flash secure mmu 2x 16-bit timer usb sie* txcvr gpio *maxq622 only. voltage monitor ir driver regulator watchdog clock 6kb rom MAXQ612/maxq622 package type package code document no. 64 lqfp c64+5 21-0083 44 tqfn-ep t4477+2 21-0144


▲Up To Search▲   

 
Price & Availability of MAXQ612

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X